package com.jt9003.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


public class Query {
        private   String  p_id;  //患者ID
        private  String registration_number;//挂号单号
        private  String p_name;//患者姓名
        private  String p_gender;//患者性别
        private  Integer p_age;//患者年龄
        private  String p_phone;//患者电话
        private  double pre_money;//支付费用
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        private Date pre_open_date;//开方时间
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        private Date  r_time;//结算时间
        private  String u_doctor_name;//就诊医生
        private  String cashier_name;//收营员名字
        private  String dictionary_data;//处方状态


    public Query() {
    }

    public Query(String p_id, String registration_number, String p_name, String p_gender, Integer p_age, String p_phone, double pre_money, Date pre_open_date, Date r_time, String u_doctor_name, String cashier_name, String dictionary_data) {
        this.p_id = p_id;
        this.registration_number = registration_number;
        this.p_name = p_name;
        this.p_gender = p_gender;
        this.p_age = p_age;
        this.p_phone = p_phone;
        this.pre_money = pre_money;
        this.pre_open_date = pre_open_date;
        this.r_time = r_time;
        this.u_doctor_name = u_doctor_name;
        this.cashier_name = cashier_name;
        this.dictionary_data = dictionary_data;
    }

    public String getP_id() {
        return p_id;
    }

    public void setP_id(String p_id) {
        this.p_id = p_id;
    }

    public String getRegistration_number() {
        return registration_number;
    }

    public void setRegistration_number(String registration_number) {
        this.registration_number = registration_number;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public String getP_gender() {
        return p_gender;
    }

    public void setP_gender(String p_gender) {
        this.p_gender = p_gender;
    }

    public Integer getP_age() {
        return p_age;
    }

    public void setP_age(Integer p_age) {
        this.p_age = p_age;
    }

    public String getP_phone() {
        return p_phone;
    }

    public void setP_phone(String p_phone) {
        this.p_phone = p_phone;
    }

    public double getPre_money() {
        return pre_money;
    }

    public void setPre_money(double pre_money) {
        this.pre_money = pre_money;
    }

    public Date getPre_open_date() {
        return pre_open_date;
    }

    public void setPre_open_date(Date pre_open_date) {
        this.pre_open_date = pre_open_date;
    }

    public Date getR_time() {
        return r_time;
    }

    public void setR_time(Date r_time) {
        this.r_time = r_time;
    }

    public String getU_doctor_name() {
        return u_doctor_name;
    }

    public void setU_doctor_name(String u_doctor_name) {
        this.u_doctor_name = u_doctor_name;
    }

    public String getCashier_name() {
        return cashier_name;
    }

    public void setCashier_name(String cashier_name) {
        this.cashier_name = cashier_name;
    }

    public String getDictionary_data() {
        return dictionary_data;
    }

    public void setDictionary_data(String dictionary_data) {
        this.dictionary_data = dictionary_data;
    }
}
